package org.example.back.mapper.Forum;

import org.apache.ibatis.annotations.Mapper;
import org.example.back.entity.Forum.ForumMedia;

import java.util.List;

@Mapper
public interface ForumMediaMapper {
    int insertMedia(ForumMedia media);

    List<ForumMedia> selectMediaByPostId(Long postId);
}
